package com.lifeng.system.pojo.VO;

import com.lifeng.system.pojo.TOrder;
import com.lifeng.system.pojo.TProduct;

import java.util.List;

/**
 * 跟订单相关的数据实体
 * @author lifeng
 * @create 2022-11-27 14:27
 */
public class OrderVO {

    private TOrder tOrder;//存放订单数据

    private List<TProduct> tProducts;//存放当前订单所有商品数据

    public TOrder gettOrder() {
        return tOrder;
    }

    public void settOrder(TOrder tOrder) {
        this.tOrder = tOrder;
    }

    public List<TProduct> gettProducts() {
        return tProducts;
    }

    public void settProducts(List<TProduct> tProducts) {
        this.tProducts = tProducts;
    }
}
